package com.sys.db.dao;

import java.util.List;

import com.sys.pojo.RunFlowJob;

public interface RunFlowJobDao extends BaseDao {
	public void save(RunFlowJob runFlowJob) throws Exception;
	
	public void delete(int id) throws Exception;
	
	public void update(RunFlowJob runFlowJob) throws Exception;
	
	public List findAll() throws Exception;
	
	public List findByPage(int start,int limit) throws Exception;
	
	public RunFlowJob findById(int id) throws Exception;
	
	public List findByFlowId(int flowId) throws Exception;
	
	public void deleteByFlowId(int flowId) throws Exception;
	
	public List findByJobId(int jobId,int flowId) throws Exception;
}
